package com.dao;

import java.util.Date;
import java.util.List;

import javax.servlet.http.HttpSession;

import com.model.Member;


public interface MemberDao {
	
	public void add(String branch,Member cust);

	public List<Member> getAll(int page);
	
	public Member get(Integer id);
	
	public void delete(Integer id);
	
	public List<Member> getByFields(Integer id,String ticket,Date from,Date to,String name); 
	public int getNoOfRecords();

	public List<Member> getAllForUser(String name);
	public List<Member> getAllForAdmin();
	
}
